@import '../../styles/variables.scss';

.record-list-container {
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
  padding: 0 20rpx 36rpx;
  background: linear-gradient(180deg, $background-gradient-start 0%, $background-gradient-end 100%);
  
  .nav-placeholder {
    height: $nav-height;
  }
  
  .record-list-content {
    display: flex;
    flex-direction: column;
    gap: 26rpx;
    margin-top: 30rpx;
  }
  
  .record-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 28rpx;
    border-radius: 26rpx;
    background: $white;
    border: $border-width solid $border-color;
    
    &-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20rpx;
    }
    
    &-pet {
      font-size: 28rpx;
      font-weight: 500;
      color: #333;
    }
    
    &-time {
      font-size: 24rpx;
      color: #666;
    }
    
    &-content {
      font-size: 32rpx;
      font-weight: 400;
      margin-bottom: 20rpx;
    }
    
    &-images {
      display: flex;
      flex-wrap: wrap;
      gap: 10rpx;
    }
    
    &-image {
      width: 120rpx;
      height: 120rpx;
      border-radius: 10rpx;
    }
  }
  
  .empty-tip {
    text-align: center;
    padding: 50rpx 0;
    color: #999;
  }
  
  .add-record-button {
    position: fixed;
    right: 40rpx;
    bottom: 40rpx;
    width: 90rpx;
    height: 90rpx;
    z-index: 999;
    
    .add-record-icon {
      width: 90rpx;
      height: 90rpx;
      transform: rotate(-15deg);
    }
  }
}